@import '~antd/lib/style/themes/default.less';

.flex_dire_nowrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

    > div {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    :global {
        .iconfont {
            margin: 8px;
        }
    }

    &:hover {
        > div {
            color: @primary-color;
        }
    }
}

.quickCheckModal {
    .quickCheckModalWrapper {
        > div > p {
            padding-left: 28px;
            padding-top: 13px;
            margin-bottom: 10px;
        }
        .workflowSortable {
            padding: 0 23px;
            max-height: 215px;
            overflow-y: auto;
            > div {
                display: flex;
                flex-wrap: wrap;
            }
        }
        .sortableItem {
            white-space: nowrap;
            width: 195px;
            padding: 10px 10px;
            border: 1px solid rgb(232 232 232);
            border-radius: 5px;
            margin: 5px;
            background-color: white;
            cursor: move;
            display: flex;
            > span {
                overflow: hidden;
                text-overflow: ellipsis;
                flex: 1;
                margin-right: 10px;
            }
        }
        .disabled {
            color: rgba(0, 0, 0, 0.25);
            cursor: not-allowed;
        }
        .unselectedWorkflowWrapper {
            background: #fafafa;
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 4px;
            margin: 16px 27px;
            padding: 16px;
            max-height: 338px;
            overflow-y: auto;
            .workflowSortable {
                display: flex;
                flex-wrap: wrap;
                padding: 0;
            }
            > p {
                padding-left: 5px;
            }

            .sortableItem {
                cursor: default;
            }
        }
    }
    .unselectedItem {
        > p {
            margin-top: 16px;
        }
        &:first-child {
            margin-top: 0;
        }
    }
}

.cylc_step {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.85);
}

.workflowSortableWrapper {
    display: flex;
    flex-wrap: wrap;
}

.noTabActiveLine {
    :global {
        .ant-tabs-ink-bar {
            background-color: transparent;
        }
    }
}

.tabContent {
    overflow-x: 'hidden';
    overflow-y: 'auto';
    max-height: '500px';
    background-color: white;
}

.lintGrayColor {
    &:global {
        &:not([disabled]).ant-btn-link {
            color: rgba(0, 0, 0, 0.45);
        }
    }
}

.cylcWrapper {
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
}
